package kr.jobseeker.movinavi;

import java.util.ArrayList;

public class TheaterInfo {
	private String theater = new String();
	private ArrayList<String> movies = new ArrayList<String>();
	private ArrayList<String> movies_info = new ArrayList<String>();
	private ArrayList<String>[] times;
    
    
    @SuppressWarnings("unchecked")
	public TheaterInfo(int numOfMovies) {
		times = new ArrayList[numOfMovies];
		for(int i=0; i<numOfMovies; i++) {
			times[i] = new ArrayList<String>();
		}
	}
    
	public String getTheater() {
		return theater;
	}
	public void setTheater(String theater) {
		this.theater = theater;
	}
	public ArrayList<String> getMovies() {
		return movies;
	}
	@SuppressWarnings("unchecked")
	public void setMovies(ArrayList<String> movies) {
		this.movies = (ArrayList<String>) movies.clone();
	}
	
	public ArrayList<String> getMovies_info() {
		return movies_info;
	}

	@SuppressWarnings("unchecked")
	public void setMovies_info(ArrayList<String> movies_info) {
		this.movies_info = (ArrayList<String>) movies_info.clone();
	}

	public ArrayList<String> getTimes(int index) {
		return times[index];
	}
	
	@SuppressWarnings("unchecked")
	public void setTimes(ArrayList<String> times, int index) {
		this.times[index] = (ArrayList<String>) times.clone();
	}
	
	
}
